Quickbook API icon

Quickbook API

(0 reviews)

Booking detail

GET /booking/detail

Description

Get the detail of current booking.

Description

This endpoint allows retrieving the booking detail of a journey with Addison Lee.

Authorization

The Authorization header carried the API access token in the format AL client_id:client_secret. Please see Security page for more info

Query Parameters

ParametersDescriptionRequired?
job_uuidBooking unique identifiertrue

Response

{
  "result": "ok",
  "account": {
    "number": 477601
  },
  "booking": {
    "uuid": "d9d100cb-d50f-4b8d-ad3d-0670fc46d488",
    "number": 361728,
    "asap": false,
    "date": "2020-04-09T14:24:52Z",
    "status": "ONWAY",
    "service": "select",
    "price": {
      "total": 34.7,
      "vat": 6.94,
      "currency": "GBP"
    },
    "locations": [
      {
        "street_address": "10 BOMBAY STREET",
        "lat": 51.4941925,
        "long": -0.06431560000000001,
        "town": "LONDON",
        "postcode": "SE16 3UX",
        "country": "GB"
      },
      {
        "street_address": "189 EARLSFIELD ROAD",
        "lat": 51.4466979,
        "long": -0.1844334,
        "town": "LONDON",
        "postcode": "SW18 3DD",
        "country": "GB"
      }
    ]
  }
  "driver": {
      "name": "Nicholas",
      "telephone": "07958272618",
      "vehicle_type": "VIVARO",
      "vehicle_reg": "BD51 SMR"
  }
}
ParametersDescription
resultThe result of the booking
account.numberAccount number used for the booking
booking.uuidId of booking
booking.numberNumber of booking
booking.referencesAny references used on the booking
booking.asapWhether the booking was ASAP
booking.dateDate of the journey
booking.statusStatus of the journey
booking.serviceClass of service
booking.price.totalTotal price of the booking
booking.price.vatVAT for the booking
booking.price.currencyPrice currency
booking.locations.addressAddress
booking.locations.latLocation of stop (latitude)
booking.locations.longLocation of stop (longitude)
booking.locations.airportAirport Object
booking.locations.airport.iataAirport IATA code
booking.locations.airport.terminalAirport Terminal
booking.locations.airport.flight_numberFlight Number
booking.locations.notesNotes attached to the stop
booking.driver.nameDriver Name
booking.driver.telephoneTelephone number of driver
booking.driver.vehicleModel of Vehicle
booking.driver.vehicle_regRegistration of the Vehicle

Reviews